package com.bean.entity;

import java.io.Serializable;

/**
 * 教师信息实体类
 */
public class Teachers implements Serializable {

    private Integer id;
    private Integer subjectId;
    private String  teachersName;
    private Integer  gender;
    private Integer  roleId;
    //政治面貌
    private String  political;
    //证件id
    private Integer  certificateId;
    //证件号码
    private String  certificateNum;
    private String  address;
    //毕业院校
    private String  graduationName;
    //职称id
    private Integer  professionalId;
    //上级老师
    private Integer  leader;
    private String  phone;
    private String  password;

    @Override
    public String toString() {
        return "Teachers{" +
                "id=" + id +
                ", subjectId=" + subjectId +
                ", teachersName='" + teachersName + '\'' +
                ", gender=" + gender +
                ", roleId=" + roleId +
                ", political='" + political + '\'' +
                ", certificateId=" + certificateId +
                ", certificateNum='" + certificateNum + '\'' +
                ", address='" + address + '\'' +
                ", graduationName='" + graduationName + '\'' +
                ", professionalId=" + professionalId +
                ", leader=" + leader +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Teachers() {
    }

        public Teachers(Integer id) {
        this.id = id;
    }

    public Teachers(Integer subjectId, String teachersName, String political) {
        this.subjectId = subjectId;
        this.teachersName = teachersName;
        this.political = political;
    }

    public Teachers(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }

    public Teachers(Integer subjectId, String teachersName, Integer gender, Integer roleId, String political, Integer certificateId, String certificateNum, String address, String graduationName, Integer professionalId, Integer leader, String phone, String password) {
        this.subjectId = subjectId;
        this.teachersName = teachersName;
        this.gender = gender;
        this.roleId = roleId;
        this.political = political;
        this.certificateId = certificateId;
        this.certificateNum = certificateNum;
        this.address = address;
        this.graduationName = graduationName;
        this.professionalId = professionalId;
        this.leader = leader;
        this.phone = phone;
        this.password = password;
    }

    public Teachers(Integer id, Integer subjectId, String teachersName, Integer gender, Integer roleId, String political, Integer certificateId, String certificateNum, String address, String graduationName, Integer professionalId, Integer leader, String phone, String password) {
        this.id = id;
        this.subjectId = subjectId;
        this.teachersName = teachersName;
        this.gender = gender;
        this.roleId = roleId;
        this.political = political;
        this.certificateId = certificateId;
        this.certificateNum = certificateNum;
        this.address = address;
        this.graduationName = graduationName;
        this.professionalId = professionalId;
        this.leader = leader;
        this.phone = phone;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public String getTeachersName() {
        return teachersName;
    }

    public void setTeachersName(String teachersName) {
        this.teachersName = teachersName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getPolitical() {
        return political;
    }

    public void setPolitical(String political) {
        this.political = political;
    }

    public Integer getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(Integer certificateId) {
        this.certificateId = certificateId;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGraduationName() {
        return graduationName;
    }

    public void setGraduationName(String graduationName) {
        this.graduationName = graduationName;
    }

    public Integer getProfessionalId() {
        return professionalId;
    }

    public void setProfessionalId(Integer professionalId) {
        this.professionalId = professionalId;
    }

    public Integer getLeader() {
        return leader;
    }

    public void setLeader(Integer leader) {
        this.leader = leader;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
